package com.wasu.entity.live;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * <p>------------------------------------------------------
 * <p>Copyright (C) 2020 wasu company, All rights reserved.
 * <p>------------------------------------------------------
 * <p> 节目单
 * <p>
 *
 * @author Created by zhangmz
 * @date on 2023/8/21
 */
public class WasuEdit implements Parcelable {

    private String eventId;
    private String eventName;
    private String startTime;
    private String endTime;
    private String showStartDate;
    private String showStartTime;
    private long startTimestamp;
    private long endTimestamp;

    public WasuEdit(){

    }

    public WasuEdit(String eventId, String eventName, String startTime, String endTime, String showStartDate, String showStartTime, long startTimestamp, long endTimestamp) {
        this.eventId = eventId;
        this.eventName = eventName;
        this.startTime = startTime;
        this.endTime = endTime;
        this.showStartDate = showStartDate;
        this.showStartTime = showStartTime;
        this.startTimestamp = startTimestamp;
        this.endTimestamp = endTimestamp;
    }

    protected WasuEdit(Parcel in) {
        eventId = in.readString();
        eventName = in.readString();
        startTime = in.readString();
        endTime = in.readString();
        showStartDate = in.readString();
        showStartTime = in.readString();
        startTimestamp = in.readLong();
        endTimestamp = in.readLong();
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(eventId);
        dest.writeString(eventName);
        dest.writeString(startTime);
        dest.writeString(endTime);
        dest.writeString(showStartDate);
        dest.writeString(showStartTime);
        dest.writeLong(startTimestamp);
        dest.writeLong(endTimestamp);
    }

    @Override
    public int describeContents() {
        return 0;
    }

    public static final Creator<WasuEdit> CREATOR = new Creator<WasuEdit>() {
        @Override
        public WasuEdit createFromParcel(Parcel in) {
            return new WasuEdit(in);
        }

        @Override
        public WasuEdit[] newArray(int size) {
            return new WasuEdit[size];
        }
    };

    public String getEventId() {
        return eventId;
    }

    public void setEventId(String eventId) {
        this.eventId = eventId;
    }

    public String getEventName() {
        return eventName;
    }

    public void setEventName(String eventName) {
        this.eventName = eventName;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getShowStartDate() {
        return showStartDate;
    }

    public void setShowStartDate(String showStartDate) {
        this.showStartDate = showStartDate;
    }

    public String getShowStartTime() {
        return showStartTime;
    }

    public void setShowStartTime(String showStartTime) {
        this.showStartTime = showStartTime;
    }

    public long getStartTimestamp() {
        return startTimestamp;
    }

    public void setStartTimestamp(long startTimestamp) {
        this.startTimestamp = startTimestamp;
    }

    public long getEndTimestamp() {
        return endTimestamp;
    }

    public void setEndTimestamp(long endTimestamp) {
        this.endTimestamp = endTimestamp;
    }

    @Override
    public String toString() {
        return "WasuEdit{" +
                "eventId='" + eventId + '\'' +
                ", eventName='" + eventName + '\'' +
                ", startTime='" + startTime + '\'' +
                ", endTime='" + endTime + '\'' +
                ", showStartDate='" + showStartDate + '\'' +
                ", showStartTime='" + showStartTime + '\'' +
                ", startTimestamp=" + startTimestamp +
                ", endTimestamp=" + endTimestamp +
                '}';
    }
}
